package com.kkb.vo;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
public class HRVo {
    private Integer hosrId; //病例号
    private Integer dId;            //医生编号
    private String hosrDepartid;    //所属科室
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date beginDate;          //挂号的开始时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endDate;            //结束时间

    public Integer getHosrId() {
        return hosrId;
    }

    public void setHosrId(Integer hosrId) {
        this.hosrId = hosrId;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public String getHosrDepartid() {
        return hosrDepartid;
    }

    public void setHosrDepartid(String hosrDepartid) {
        this.hosrDepartid = hosrDepartid;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "HRVo{" +
                "hosrId=" + hosrId +
                ", dId=" + dId +
                ", hosrDepartid='" + hosrDepartid + '\'' +
                ", beginDate=" + beginDate +
                ", endDate=" + endDate +
                '}';
    }
}
